<template>
	<view :class="{
		'no-data-box':true,
		'no-data-box2': meStatus
		 }" >
		<image v-if="imgType === 1" style="width: 200rpx;height: 200rpx;margin-top: 12rpx;align-items: center;"
			src="/static/images/noData1.png">
		</image>
		<image v-else-if="imgType === 2" style="width: 200rpx;height: 200rpx;margin-top: 12rpx;"
			src="/static/images/noData2.png">
		</image>
		<text style="color: #8C8A8A;font-size: 24rpx;">暂无数据</text>
	</view>
</template>

<script>
	export default {
		name: 'noData',
		props: {
			imgType: {
				type: Number,
				default: 1
			},

			meStatus: {
				type: Boolean,
				default: false
			},
		},
		data() {
			return {

			}
		},
		computed: {

		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.no-data-box {
		display: flex;
		flex-direction: column;
		align-items: center;
		&::after {
			display: inline-block;
			content: '';
			width: 700rpx;
			height: 600rpx;
		}
		
		&::before {
			display: inline-block;
			content: '';
			width: 700rpx;
			height: 400rpx;
		}

	}

	.no-data-box2 {
	&::after {
			height: 100rpx;
		}
		
		&::before {
			height: 100rpx;
		}
	}
</style>